package me.luger.project.fof.entity;


import me.luger.core.dao.nutz.entity.BaseEntity;
import org.nutz.dao.entity.annotation.*;
import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

@Table("fof_fund_index")
public class FundIndex extends BaseEntity implements Serializable{
private static final long serialVersionUID=1L;


    /**
     * 
     */
    @Column("id")
    @Comment("")
    @ColDefine(customType = "INT UNSIGNED", width = 10)
    private Integer id;
    /**
     * 指数价格
     */
    @Column("price")
    @Comment("指数价格")
    @ColDefine(customType = "DOUBLE", width = 22)
    private Double price;
    /**
     * 指数价格日期
     */
    @Column("priceDate")
    @Comment("指数价格日期")
    @ColDefine(type = ColType.DATETIME, width = 19)
    @JSONField (format="yyyy-MM-dd HH:mm:ss")
    private Date priceDate;

    public void setId(Integer id){
        this.id=id;
    }
    public Integer getId(){
        return this.id;
    }

    public void setPrice(Double price){
        this.price=price;
    }
    public Double getPrice(){
        return this.price;
    }

    public void setPriceDate(Date priceDate){
        this.priceDate=priceDate;
    }
    public Date getPriceDate(){
        return this.priceDate;
    }


}